package org.liuyunfeng.web;

import org.liuyunfeng.domain.TestMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description:
 * @author: TanJingyu
 * @create: 2023-02-13 23:19
 **/
@RestController
@RequestMapping("/test")
public class HelloController {
    @Autowired
    private TestMapper testMapper;

    @GetMapping
    public Object getTest() {
        return testMapper.selectTest();
    }
}

    